/* 全局样式 */
:root {
  --primary-color: #409EFF;
  --success-color: #67C23A;
  --warning-color: #E6A23C;
  --danger-color: #F56C6C;
  --info-color: #909399;
  --text-primary: #303133;
  --text-regular: #606266;
  --text-secondary: #909399;
  --border-color: #DCDFE6;
  --border-light: #E4E7ED;
  --background-color: #F5F7FA;
}

/* 清除默认样式 */
* {
  box-sizing: border-box;
}

/* 博客风格的卡片 */
.blog-card {
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  background-color: #fff;
  overflow: hidden;
  transition: all 0.3s;
}

.blog-card:hover {
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.blog-card-header {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-light);
}

.blog-card-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-primary);
  margin: 0;
}

.blog-card-content {
  padding: 20px;
}

.blog-card-footer {
  padding: 10px 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 14px;
}

/* 按钮样式 */
.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary:hover {
  opacity: 0.8;
}

/* 标签样式 */
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 8px;
  color: white;
}

.tag-blue {
  background-color: var(--primary-color);
}

.tag-green {
  background-color: var(--success-color);
}

.tag-orange {
  background-color: var(--warning-color);
}

.tag-red {
  background-color: var(--danger-color);
}

/* 布局样式 */
.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.flex-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

/* 响应式栅格 */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.col {
  padding: 0 10px;
}

.col-12 {
  width: 100%;
}

.col-8 {
  width: 66.666%;
}

.col-6 {
  width: 50%;
}

.col-4 {
  width: 33.333%;
}

.col-3 {
  width: 25%;
}

/* 媒体查询 */
@media (max-width: 768px) {
  .col-4, .col-6, .col-8 {
    width: 100%;
  }
} 